//
//  MyWebViewController.m
//  XWZ_News_Work
//
//  Created by penngshi on 16/1/15.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MyWebViewController.h"

@interface MyWebViewController ()
@property (nonatomic , strong)  UILabel *nbatiLabel;
@end

@implementation MyWebViewController
- (void)viewWillAppear:(BOOL)animated {
    
//    self.navigationController.navigationBar.hidden = NO;
    self.tabBarController.tabBar.hidden = NO;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, -100, 375 * KPropotionWidth , 667 * SIZE)];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]];
    [self.view addSubview: self.webView];
    [self.webView loadRequest:request];

    // Do any additional setup after loading the view.
    self.nbatiLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 100)];
    self.nbatiLabel.backgroundColor = [UIColor blackColor];
    [self.webView addSubview:self.nbatiLabel];
    }

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
